//
//  WXNavPushImpl.m
//  HJShop
//
//  Created by apple on 2019/4/15.
//  Copyright © 2019 HJShop. All rights reserved.
//

#import "WXNavPushImpl.h"
#import "HJRoute.h"


@implementation WXNavPushImpl

@synthesize weexInstance;

WX_EXPORT_METHOD(@selector(push:))

- (void)push:(NSString *)url
{
    if ([url isEqual:@"detail.js"]) {
        [weexInstance.viewController.navigationController pushViewController:[[HJRoute sharedHJRoute] loadRoute:@"weex?js=detail"] animated:YES];
    }
}

@end
